
// Boost Includes ==============================================================
#include <boost/python.hpp>
#include <boost/cstdint.hpp>

// Includes ====================================================================
#include <OpenSG/OSGNodeCore.h>
#include <OsgPtrHelpers.h>

// Using =======================================================================
using namespace boost::python;

// Declarations ================================================================
namespace  {

BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(osg_NodeCore_dump_overloads_0_2, dump, 0, 2)


}// namespace


// Module ======================================================================
void Export_src_pyste_gen_NodeCore()
{
    scope* osg_NodeCore_scope = new scope(
    class_< osg::NodeCore, bases< osg::AttachmentContainer > , boost::noncopyable, osg::NodeCoreRefPtr >("NodeCore", no_init)
//        .def_readonly("ParentsFieldMask", &osg::NodeCore::ParentsFieldMask)
//        .def_readonly("isNodeCore", &osg::NodeCore::isNodeCore)
        .def("getType", (osg::FieldContainerType& (osg::NodeCore::*)() )&osg::NodeCore::getType, return_internal_reference< 1 >())
        .def("getType", (const osg::FieldContainerType& (osg::NodeCore::*)() const)&osg::NodeCore::getType, return_internal_reference< 1 >())
        .def("getClassType", &osg::NodeCore::getClassType, return_internal_reference< 1 >())
        .def("getClassTypeId", &osg::NodeCore::getClassTypeId)
        .def("getContainerSize", &osg::NodeCore::getContainerSize)
        .def("getParents", (osg::MFNodePtr& (osg::NodeCore::*)() )&osg::NodeCore::getParents, return_internal_reference< 1 >())
        .def("getParents", (const osg::MFNodePtr& (osg::NodeCore::*)() const)&osg::NodeCore::getParents, return_internal_reference< 1 >())
        .def("getMFParents", &osg::NodeCore::getMFParents, return_internal_reference< 1 >())
        .def("getBinSize", &osg::NodeCore::getBinSize)
        .def("copyToBin", &osg::NodeCore::copyToBin)
        .def("copyFromBin", &osg::NodeCore::copyFromBin)
        .def("dump", &osg::NodeCore::dump, osg_NodeCore_dump_overloads_0_2())
        .def("invalidateVolume", &osg::NodeCore::invalidateVolume)
        .staticmethod("getClassType")
        .staticmethod("getClassTypeId")
    );

    scope().attr("NextFieldId") = (int)osg::NodeCore::NextFieldId;
    scope().attr("ParentsFieldId") = (int)osg::NodeCore::ParentsFieldId;

    delete osg_NodeCore_scope;


    register_ptr_to_python<osg::NodeCorePtr>();
    implicitly_convertible<osg::NodeCoreRefPtr, osg::NodeCorePtr>();
    implicitly_convertible<osg::NodeCorePtr, osg::AttachmentContainerPtr>();

    def("RefPtr", &pyopensg::ToRefPtr<osg::NodeCorePtr>);
    def("FCPtr", &pyopensg::ToFcPtr<osg::NodeCorePtr>);
}

